package com.ruoyi.jiuzai.service;

import java.util.List;
import com.ruoyi.jiuzai.domain.Wuzibaofei;

/**
 * 物资报废Service接口
 * 
 * @author ruoyi
 * @date 2025-06-24
 */
public interface IWuzibaofeiService 
{
    /**
     * 查询物资报废
     * 
     * @param baoId 物资报废主键
     * @return 物资报废
     */
    public Wuzibaofei selectWuzibaofeiByBaoId(Long baoId);

    /**
     * 查询物资报废列表
     * 
     * @param wuzibaofei 物资报废
     * @return 物资报废集合
     */
    public List<Wuzibaofei> selectWuzibaofeiList(Wuzibaofei wuzibaofei);

    /**
     * 新增物资报废
     * 
     * @param wuzibaofei 物资报废
     * @return 结果
     */
    public int insertWuzibaofei(Wuzibaofei wuzibaofei);

    /**
     * 修改物资报废
     * 
     * @param wuzibaofei 物资报废
     * @return 结果
     */
    public int updateWuzibaofei(Wuzibaofei wuzibaofei);

    /**
     * 批量删除物资报废
     * 
     * @param baoIds 需要删除的物资报废主键集合
     * @return 结果
     */
    public int deleteWuzibaofeiByBaoIds(Long[] baoIds);

    /**
     * 删除物资报废信息
     * 
     * @param baoId 物资报废主键
     * @return 结果
     */
    public int deleteWuzibaofeiByBaoId(Long baoId);
}
